<template>
  <div class="park-environment">
    <div class="title">• 园区环境统计</div>
    <div class="park-environment-box">
      <div class="park-environment-item utilization">
        <div class="outer-ring">
          <div class="inner-ring-1">
            <div class="inner-ring-2">
              <i class="iconfont icon-temperature"></i>
            </div>
          </div>
        </div>
        <div class="park-environment-item-title">园区温度：9.4dcg C</div>
      </div>
      <div class="park-environment-item usetoday">
        <div class="outer-ring">
          <div class="inner-ring-1">
            <div class="inner-ring-2">
              <i class="iconfont icon-humidity"></i>
            </div>
          </div>
        </div>
        <div class="park-environment-item-title">园区湿度：27%RH</div>
      </div>
    </div>
    <div class="park-environment-information">
      <div class="park-environment-information-box">
        <div class="park-environment-information-value">669.2lx</div>
        <div>C区照度</div>
      </div>
      <div class="park-environment-information-box">
        <div class="park-environment-information-value">669.2lx</div>
        <div>B4区照度</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
@import "./scss/style.scss";
.park-environment {
  background-color: rgba(0, 0, 0, 0.501);
  padding: 15px;
  .park-environment-box {
    display: flex;
    width: 100%;
    height: 155px;
    .park-environment-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-repeat: no-repeat;
      background-size: auto;
      background-position: 50%;
      color: white;
      font-size: 12px;
      .park-environment-item-title {
        margin: 10px 0;
        color: #00ccff;
        font-size: 16px;
      }
      .outer-ring {
        width: 120px;
        height: 120px;
        border: 4px solid #00ccff;
        border-radius: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
        .inner-ring-1 {
          width: 95px;
          height: 95px;
          display: flex;
          justify-content: center;
          align-items: center;
          border-radius: 120px;
          background: linear-gradient(
            rgba(0, 204, 255, 0.068),
            rgba(0, 204, 255, 0.696)
          );
          .inner-ring-2 {
            width: 70px;
            height: 70px;
            border-radius: 120px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(
              rgba(0, 204, 255, 0.055),
              rgba(0, 204, 255, 0.696)
            );
          }
        }
      }
    }
    .park-environment-item:nth-of-type(2) {
      margin: 0 20px;
    }
  }
  .park-environment-information {
    width: 100%;
    height: 95px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    .park-environment-information-box:nth-of-type(1) {
      margin-right: 27px;
    }
    .park-environment-information-box {
      flex: 1;
      height: 95px;
      border: 1px solid rgba(0, 220, 254, 0.705);
      box-shadow: 0 0 8px rgba(0, 220, 254, 0.705) inset;
      color: #00ccff;
      font-size: 16px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      .park-environment-information-value {
        text-shadow: 0 0 3px #00ccff;
        font-size: 30px;
        margin-bottom: 8px;
      }
    }
  }
}
</style>
